package com.ssd.service;

import com.ssd.entity.CommonUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ssd.entity.dto.LoginForCustomerReqDTO;
import com.ssd.view.BaseResponse;

import java.io.IOException;

/**
 * <p>
 * c端用户表 服务类
 * </p>
 *
 * @author author
 * @since 2024-11-14
 */
public interface ICommonUserService extends IService<CommonUser> {

    /**
     * 微信登录
     * @param code 请求参数
     * @return
     */
    BaseResponse loginForCommonUser(String code) throws IOException;

    /**
     * 更新手机号码
     * @param phoneCode
     */
    BaseResponse updatePhone(String phoneCode);
}
